import request from '@/utils/request'

const api_name = '/admin/user'

export default {

    auth(id,authStatus){
        return request({
            url:`${api_name}/auth/${id}/${authStatus}`,
            method:'get'
        })
    },

    lock(id,status){
        return request({
            url:`${api_name}/lock/${id}/${status}`,
            method:'get'
        })
    },

    userList(page,limit,userInfoQueryVo){
        return request({
            url:`${api_name}/userlist/${page}/${limit}`,
            method:'post',
            data:userInfoQueryVo
        })
    },

    show(id){
        return request({
            url:`${api_name}/show/${id}`,
            method:'get'
        })
    }

}